package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.risk.entity.RiskStableEvalution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "风险评估")
public class RiskEvaluationBusinessBean implements Serializable {

    @ApiModelProperty("风险评估id")
    private Long id;

    @ApiModelProperty("风险区域id")
    private Long riskDistrictId;

    @ApiModelProperty("区域风险等级")
    private Integer riskLevel;

    @ApiModelProperty("责任单位id")
    private Long responsibleDepartId;

    @ApiModelProperty("负责人id")
    private Long responsibleUserId;

    @ApiModelProperty("评估人id集合")
    private List<Long> evaluationUserIds;

    @ApiModelProperty("评估单位id")
    private Long evaluationDepartId;

    @ApiModelProperty("评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date evaluationDate;

    @ApiModelProperty("等级校正选项id集合")
    private List<Long> ruleIdJson;

    @ApiModelProperty("风险区域固有风险评价")
    private RiskStableEvalution riskStableEvalution;

    @ApiModelProperty("风险区域固有风险评价等级")
    private Integer stableRiskLevel;


}
